<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('新增组别')" />
    <th:block th:include="include :: jquery-smartwizard-css" />


</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
    <div class="row">
        <div class="col-sm-24">
            <div class="ibox">
                <div class="ibox-title">
                    <h5>
                        任务日志
                    </h5>
                </div>
                <div class="ibox-content">

                    <div class="form-group" >
                        <div class="m-t-md">
                            <table class="table" id="taskAppList">
                                <thead>
                                <tr>
                                    <th style="width: 150px;">操作日期</th>
                                    <th>操作名称</th>

                                    <th>详情</th>
                                </tr>
                                </thead>
                                <tbody>


                                </tbody>
                            </table>
                        </div>
                    </div>

                </div>
            </div>
        </div>

    </div>
</div>
<th:block th:include="include :: footer" />
<th:block th:include="include :: jquery-smartwizard-js" />
<script type="text/javascript">

    $(document).ready(function() {

        initLog();
    });


    
    function initLog() {
        var data = {logType:1,relId:[[${id}]]};
        $.operate.postJSON(ctx+"log/listLog",JSON.stringify(data),function (res) {
            $('#taskAppList tbody').empty();

            $.each(res.data,function (index,value) {
                $('#taskAppList tbody').append(
                    '<tr>' +
                    '<td>' + value.startTime + '</td>' +
                    '<td>' + value.logName + '</td>' +

                    '<td>' + value.remark + '</td>' +
                    '</tr>'
                );
            });
        })

    }

</script>
</body>
</html>
